<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>

<link rel="stylesheet" href="//at.alicdn.com/t/font_707111_3bl3cn2jzxa.css" type="text/css" />
<script src="https://cdn.bootcss.com/babel-polyfill/7.0.0-alpha.9/polyfill.min.js"></script>
<div id="react"></div>
<script type="text/javascript" src="/ZPackStub.js"></script>
<script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<!--<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">-->
<link href="https://cdn.bootcss.com/select2/4.0.3/css/select2.min.css" rel="stylesheet">
<script src="https://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
<!--<script src="https://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>-->
<script src="https://cdn.bootcss.com/select2/4.0.3/js/select2.min.js"></script>
<script>
    window.zpack=new ZPack({
        entry:"<%-entry%>",
        external:{
            'react':React,
            'react-dom':ReactDOM,
            'jQuery':jQuery,
            'babel-polyfill':false,
            'antd': {}
        }
    });
    require.dynamic(zpack.entry).then(function(Comp) {
        var el = document.getElementById('react');
        Comp = Comp.default || Comp;
        var comp = React.createElement(Comp);
        ReactDOM.render(comp, el);
    }).catch(function(e) {
        console.error(e);
    });
</script>
</body>
</html>
